package org.jeecg.modules.flowermater.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 采后物资台账表
 * @Author: jeecg-boot
 * @Date:   2022-07-13
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="flower_material_book对象", description="采后物资台账表")
public class FlowerMaterialCost implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**库房*/
    @Excel(name = "库房", width = 15,dictTable = "flower_storehouse",dicText = "name",dicCode = "code")
    @ApiModelProperty(value = "库房")
    @Dict( dictTable = "flower_storehouse",dicText = "name",dicCode = "code")
    private String storehouse;

    @Excel(name = "成本中心", width = 15 , dicCode = "ch_cost",dicText = "cost_dictText")
    @Dict(dicCode = "ch_cost",dicText = "costText")
    @ApiModelProperty(value = "成本中心")
    private String cost;

    /**消耗数量*/
    @Excel(name = "消耗数量", width = 15)
    @ApiModelProperty(value = "消耗数量")
    private Double num;


    @Excel(name = "成本", width = 15)
    @ApiModelProperty(value = "成本")
    private BigDecimal totalPrice;


	/**出库时间*/
	@Excel(name = "出库日期", width = 15 )
    @ApiModelProperty(value = "出库日期")
    private String outTime;

}
